package com.sskj.gocoin.route.service;

import android.content.Context;
import android.text.TextUtils;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.alibaba.android.arouter.facade.template.IProvider;
import com.lzy.okgo.OkGo;
import com.lzy.okgo.model.HttpHeaders;
import com.shizhefei.mvc.MVCHelper;
import com.sskj.common.util.SPUtil;
import com.sskj.gocoin.common.App;
import com.sskj.gocoin.common.BaseActivityLifecycleCallbacks;
import com.sskj.gocoin.utils.LanguageUtil;
import com.sskj.lib.SPConfig;
import com.sskj.lib.mvchelper.LoadViewFactory;


@Route(path = "/minefabi/application")
public class MineFabiService implements IProvider {
    @Override
    public void init(Context context) {
        App.INSTANCE.registerActivityLifecycleCallbacks(new BaseActivityLifecycleCallbacks());
        LanguageUtil.changeAppLanguage(context, LanguageUtil.getAppLocale(context), true);
    }
}
